package com.ycorn.controller;

import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: wujianmin
 * @Date: 2020/4/3 10:58
 * @Function:
 * @Version 1.0
 */
@Controller
public class TestSecurityController {

    @RequestMapping(value = "/login_success", produces = {"text/plain;charset=utf-8"})
    @ResponseBody
    public String loginSuccess() {
        return " 登录成功";
    }

    @RequestMapping(value = "/r/r1", produces = {"text/plain;charset=utf-8"})
    @ResponseBody
    public String r1() {
        return "成功跳转R1";
    }

    @RequestMapping(value = "/r/r2", produces = {"text/plain;charset=utf-8"})
    @ResponseBody
    public String r2() {
        return " 成功跳转R2";
    }
}
